Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump craft-parts #5031

Merged
merged 1 commit into from
Sep 13, 2024
Merged

build(deps): bump craft-parts #5031

merged 1 commit into from
Sep 13, 2024

Conversation

tigarmo
Copy link
Contributor

@tigarmo tigarmo commented Sep 12, 2024

This new version fixes a bug on the npm plugin. The bug is caused by the plugin
having state that implicitly needs to be passed from the 'pull' step to the
'build' step. If both are done in a single Snapcraft 'run', then it works fine;
however, running first 'pull' and then 'build' separately trigger the issue -
a failure on the build step.

Ref: canonical/craft-parts#844

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (hotfix/8.3@96140ad). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff              @@
##             hotfix/8.3    #5031   +/-   ##
=============================================
  Coverage              ?   89.66%           
=============================================
  Files                 ?      335           
  Lines                 ?    22488           
  Branches              ?        0           
=============================================
  Hits                  ?    20164           
  Misses                ?     2324           
  Partials              ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tigarmo tigarmo force-pushed the work/npm-plugin-fix branch 3 times, most recently from 578154e to d9b253e Compare September 12, 2024 20:46
This new version fixes a bug on the npm plugin. The bug is caused by the plugin
having state that implicitly needs to be passed from the 'pull' step to the
'build' step. If both are done in a single Snapcraft 'run', then it works fine;
however, running first 'pull' and then 'build' separately trigger the issue -
a failure on the build step.

Ref: canonical/craft-parts#844
@tigarmo tigarmo changed the title test: add a spread test for the npm reentrant bug build(deps): bump craft-parts Sep 13, 2024
@tigarmo tigarmo marked this pull request as ready for review September 13, 2024 16:28
@tigarmo tigarmo requested a review from mr-cal September 13, 2024 16:28
@mr-cal mr-cal enabled auto-merge (squash) September 13, 2024 16:57
@mr-cal mr-cal merged commit a24dc3e into hotfix/8.3 Sep 13, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants